<template>
    <div class="test-con">
        <WangEditor v-model:value="value"></WangEditor>

        <div>{{ value }}</div>
    </div>
</template>

<script setup lang="ts">
import WangEditor from '@/components/wangEditor.vue';
import { onMounted, ref } from 'vue';
const value = ref()

onMounted(() => {
    setTimeout(() => {
        value.value = '发生发射点犯得上'
    }, 3000)
})
</script>
<style scoped>
.test-con{
    width: 800px;
    margin: 20px auto;
}
</style>
